<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>添加用户</title>
    <link rel="stylesheet" href="./css/bootstrap.css">
</head>

<body>
    <div class="container">
        <div class="row">
             <h2> 添加用户</h2>
        </div>
        <div class="row">
            <form method="POST" action="/add">
                <div class="form-group">
                    <label for="exampleInputEmail1">用户名</label>
                    <input name="name"  class="form-control" id="exampleInputEmail1" placeholder="请填写用户名">
                </div>
                <div class="form-group">
                    <label for="exampleInputPassword1">密码</label>
                    <input name="password" type="password" class="form-control" id="exampleInputPassword1" placeholder="请输入密码">
                </div>
                <div class="form-group">
                    <label for="exampleInputPassword1">年龄</label>
                    <input name="age"  class="form-control" id="exampleInputPassword1" placeholder="请输入年龄">
                </div>
                <div class="form-group">
                    <label for="exampleInputPassword1">邮箱</label>
                    <input name="email" type="email" class="form-control" id="exampleInputPassword1" placeholder="请输入邮箱">
                </div>
                <div class="form-group">
                    <label for="exampleInputPassword1">请选择爱好</label>
                    <div class="checkbox">
                        <label><input type="checkbox" value="橄榄球" name="hobbies"> 橄榄球</label>
                        <label><input type="checkbox" value="敲代码" name="hobbies"> 敲代码</label>
                        <label><input type="checkbox" value="蓝球" name="hobbies"> 蓝球</label>
                        <label><input type="checkbox" value="抽烟" name="hobbies"> 抽烟</label>
                        <label><input type="checkbox" value="足球" name="hobbies"> 足球</label>
                        <label><input type="checkbox" value="喝酒" name="hobbies"> 喝酒</label>
                        <label><input type="checkbox" value="烫头" name="hobbies"> 烫头</label>
                    </div>
                </div>
                <button type="submit" class="btn btn-primary">添加用户</button>
            </form>
        </div>
    </div>
</body>

</html>